//
//  CYInvestRecordDetailViewModel.h
//  cyjf
//
//  Created by tauCross on 2017/5/21.
//  Copyright © 2017年 Auto Financing. All rights reserved.
//

#import "CYViewModel.h"



typedef NS_ENUM(NSUInteger, CYInvestProgress) {
    CYInvestProgressSuccess = 0,
    CYInvestProgressAccount = 1,
    CYInvestProgressOut = 2,
    CYInvestProgressBearing = 3,
    CYInvestProgressIn = 4
};



@interface CYInvestRecordDetailViewModel : CYViewModel

@property(nonatomic, strong)NSNumber *iid;
@property(nonatomic, strong)NSNumber *dueDay;
@property(nonatomic, strong)NSString *title;
@property(nonatomic, strong)NSNumber *amount;
@property(nonatomic, strong)NSNumber *rate;
@property(nonatomic, strong)NSNumber *additionRate;
@property(nonatomic, strong)NSNumber *profits;
@property(nonatomic, strong)NSString *investDate;
@property(nonatomic, strong)NSNumber *profitsDay;
@property(nonatomic, strong)NSNumber *coupon;

@property(nonatomic, assign)CYInvestProgress progress;
@property(nonatomic, strong)NSString *successDate;
@property(nonatomic, strong)NSString *accountDate;
@property(nonatomic, strong)NSString *outDate;
@property(nonatomic, strong)NSString *bearingDate;
@property(nonatomic, strong)NSString *inDate;

@property(nonatomic, strong)NSString *contractUrl;

@end
